home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: Games / PC-SIG Games (PC-SIG).iso / 922 / TUTOR.PRN < prev    next >
Encoding:
Text File  |  1988-09-05  |  33.5 KB  |  781 lines

  1.                                 JEM Tutor
  2.         
  3.                   First make a backup of the JEM disk.
  4.          If you are unsure how to make a copy read  the  section  in  your
  5.        DOS  manual  under the copy command.JEM must have a CGA or a EGA to
  6.        work a color monitor is not necessary a mono  (one  color)  monitor
  7.        is ok with a CGA EGA.
  8.                  --------------------------------------
  9.         To  use  this  tutorial  print  this file out to the printer or go
  10.        back to DOS and type in "copy tutor.prn  prn"  hit  enter.You  will
  11.        need a copy of this in front of you to use this tutorial.
  12.         This  tutorial assumes that you know some DOS commands , if you do
  13.        not you will need your DOS manual. This  tutorial  will  teach  you
  14.        how  to  use  JEM  step  by  step.So start on the first page and go
  15.        through it slowly if you have a problem go back  a  page.After  you
  16.        get the hang of the commands JEM is very is easy to program in.
  17.         
  18.         First  JEM  is  a  LOGO  like  computer  language  or  a  Graphics
  19.        language. You can write computer programs in the JEM language  that
  20.        will  create  geometric  shapes  by  ordering the Turtle around the
  21.        screen. The following tutorial will teach  the  basic  commands  of
  22.        JEM.  The commands must be enter exactly as in this tutorial if the
  23.        screen does not look like the tutorial says it should  reenter  the
  24.        commands.
  25.         IMPORTANT TYPE IN THE COMMANDS EXACTLY IF A LETTER IS IN
  26.         IMPORTANT TYPE IN THE COMMANDS EXACTLY IF A LETTER IS IN
  27.         CAPITALS  OR  IF  IT  IS  SMALLCAPS  LOOK  CLOSE  AT  THE COMMAND.
  28.         CAPITALS  OR  IF  IT  IS  SMALLCAPS  LOOK  CLOSE  AT  THE COMMAND.
  29.        ---------------------------------------------------
  30.         Put the JEM disk in Drive A , type "jem" the screen  should  blank
  31.        and  a  small  pyramid  shape  should  appear  in the center of the
  32.        screen. The small pyramid shape is called the Turtle.  The  display
  33.        should  also  be  switched  To  the 40 character per line mode. The
  34.        bottom line of the screen will look like the line below.
  35.         
  36.                  ?-                                     !
  37.         
  38.         This is the command line all JEM commands are entered here.
  39.         Type in help the screen will now  be  in  80  character  per  line
  40.                 help                                                      
  41.        mode.  The  screen  will have two columns the column on the left is
  42.        the list of the commands "built into  JEM"  .  The  column  to  the
  43.        right  is  a  brief description of the command on the left,the last
  44.        line reads "Press any Key for more Help".
  45.         Press the space bar five (5)times. You  have  the  Turtle  in  the
  46.        center  of the screen and the bottom line should look like the line
  47.        below if the not press the space bar until the line appears.
  48.         
  49.                ?-                                       !
  50.         
  51.                  This line is called the command line.
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                     Page 1
  64.  
  65.         
  66.  Moving the Turtle forward and back.
  67.          
  68.         To start to order the turtle around the screen type in  forw  [10]
  69.                                                                 forw  [10]
  70.        then  hit  enter  the  turtle  will move ahead ten (10) spaces. And
  71.        will leave a line behind it. Type in back [20] then hit  enter  the
  72.                                             back [20]                     
  73.        turtle  will  back  up  twenty  (20)  spaces. Try moving the turtle
  74.        forward 15 spaces type in forw [15] hit enter
  75.                                  forw [15]          
  76.         The turtle should move ahead fifteen spaces. Try moving the turtle
  77.        back 12 spaces type in back [12] then hit enter.
  78.                               back [12]                
  79.         Try  moving  the turtle yourself when you feel confident in moving
  80.        the turtle go on to next section.
  81.         
  82.  Clearing the Screen
  83.         
  84.         To clear the screen type in cs hit enter.  The  screen  should  be
  85.                                     cs                                    
  86.        clear now.
  87.  
  88.  Turning the Turtle
  89.         
  90.          To turn the turtle type in turn [180] hit enter the turtle should
  91.                                     turn [180]                            
  92.        be facing the command line. Type in  turn  [360]    hit  enter  the
  93.                                             turn  [360]                   
  94.        turtle  should  be  facing  the  top  of the screen. The turtle may
  95.        turned in any direction between 0 and 360 using this command.
  96.         
  97.                                   0
  98.         
  99.                            270    T     90
  100.         
  101.                                  180
  102.         Think of the top of the screen being 0 degrees and the  bottom  of
  103.        the screen being 180 degrees. Or think of a compass ,the
  104.        turn  [angle]  command will turn the turtle around like the pointer
  105.        turn  [angle]                                                      
  106.        of a compass.
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                                                                     Page 2
  132.         
  133.  Hiding and Showing the Turtle
  134.         
  135.         The Turtle may be hidden (made to  disappear)  type  in  hide  hit
  136.                                                                  hide     
  137.        enter.  The turtle should be gone type in show hit enter the turtle
  138.                                                  show                     
  139.        should be back. Try this commands a few times.
  140.         
  141.  Drawing Lines and Centering the Turtle
  142.         
  143.         You can turn the line drawing by turtle on or  off.  Type  in  the
  144.        command  upen  hit  enter.  Now  type  in the command back [25] hit
  145.                 upen                                         back [25]    
  146.        enter. The turtle will have backed up 25 spaces and there  will  be
  147.        no  line  drawn.  Type  in  dpen  hit enter , type in forw [25] hit
  148.                                    dpen                      forw [25]    
  149.        enter. The turtle will have moved forward 25  spaces  and  drawn  a
  150.        line.  Type  in  upen  forw [30]  hit enter the turtle should be 30
  151.                         upen  forw [30]                                   
  152.        spaces forward and there should be no line drawn.
  153.         To put the turtle back in the center of the  screen  type  gh  hit
  154.                                                                    gh     
  155.        enter. The turtle should be in the center of the screen.
  156.             
  157.  Switching Line Colors
  158.         
  159.          You  can  switch the color of the lines first clear the screen by
  160.         using the clear screen command. Type in cs hit enter.
  161.                                                 cs           
  162.          Type in forw [5] Clr [3] forw [5]  hit  enter.  You  should  have
  163.                  forw [5] Clr [3] forw [5]                                
  164.        one  line  in  two  different  colors. Type in Clr [2] forw [5] hit
  165.                                                       Clr [2] forw [5]    
  166.        enter. The number of pen colors are 4 per palette  (between  0  and
  167.        3). Try using the Clr command.
  168.         
  169.  Switching Palettes     
  170.         
  171.         To  switch  palettes  type  in  1 hit enter you now have the first
  172.                                         1                                 
  173.        palette of colors. Type in 2 hit enter  you  now  have  the  second
  174.                                   2                                       
  175.        palette of colors.
  176.     
  177.         
  178.  Turning Command line on or off
  179.         
  180.         You  can turn the command line on or off to turn the line off type
  181.        in Off hit enter. To turn the command line  on  type  in  Line  hit
  182.           Off                                                    Line     
  183.        enter.
  184.  
  185.  Switching to 80 or 40 Characters per line mode
  186.         
  187.         You  can  switch  from  40  characters  per  line  mode  to the 80
  188.        character per line mode. Type in Hi hit enter you are  now  in  the
  189.                                         Hi                                
  190.        80  character  per  line mode. Type in med hit enter you are now in
  191.                                               med                         
  192.        the 40 character per line mode.
  193.         
  194.     
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.                                                                     Page 3
  206.  
  207.  Exiting JEM
  208.         Type in end hit enter the screen will clear  and  the  dos  prompt
  209.                 end                                                       
  210.        will appear.
  211.         To go on with this Tutorial -
  212.         At the DOS prompt Type in jem hit enter
  213.                                   jem          
  214.         You will now be back in the the JEM program.
  215.         If  the  user  has  created  a command JEM will ask if you wish to
  216.        save the file before returning to DOS.
  217.         (Note see loading and saving files).
  218.         The next commands  are  more  complex  make  sure  you  understand
  219.         The next commands  are  more  complex  make  sure  you  understand
  220.        everything up to this point.
  221.        everything up to this point.
  222.       
  223.  Drawing a Box
  224.         Using  the  commands  shown so far you may now order the Turtle to
  225.        do some complex commands.  Like  drawing  a  box  first  clear  the
  226.        screen use the cs command.
  227.                       cs         
  228.        Type in cs hit enter.
  229.                cs           
  230.        Type in forw [20] turn [90] forw [20]  hit enter.
  231.                forw [20] turn [90] forw [20]            
  232.        Type in turn [180] forw [20] hit enter.
  233.                turn [180] forw [20]           
  234.        Type in turn [270] forw [20] hit enter.
  235.                turn [270] forw [20]           
  236.        Now to hide the Turtle
  237.        Type in hide hit enter.
  238.                hide           
  239.        You will now have a box drawn on the screen.
  240.        Now clear the screen and show the Turtle
  241.        Type in cs show hit enter
  242.                cs show          
  243.         
  244.  Right and Left Turns
  245.         You  can  turn  the  turtle right of its current position by using
  246.        the right turn command.
  247.          Type in rtrn [10]  hit enter
  248.                  rtrn [10]           
  249.         (The turtle should be ten degrees right of where it started)
  250.         (The turtle should be ten degrees right of where it started)
  251.         Type in ltrn [10] hit enter
  252.                 ltrn [10]          
  253.         (The turtle should be 1ten degrees left of where it started)
  254.         (The turtle should be 1ten degrees left of where it started)
  255.         The rtrn [angle] and the ltrn [angle] will turn  the  turtle  from
  256.             rtrn [angle]         ltrn [angle]                             
  257.        the current position.
  258.         
  259.  To draw a box using the rtrn command
  260.                          rtrn        
  261.         First Clear the screen
  262.         Type in cs hit enter
  263.                 cs          
  264.         Type in forw [20] rtrn [90] hit enter.
  265.                 forw [20] rtrn [90]           
  266.         Type in forw [20] rtrn [90] hit enter.
  267.                 forw [20] rtrn [90]           
  268.         Type in forw [20] rtrn [90] hit enter.
  269.                 forw [20] rtrn [90]           
  270.         Type in forw [20] rtrn [90] hit enter.
  271.                 forw [20] rtrn [90]           
  272.         Type in hide hit enter.
  273.                 hide           
  274.         
  275.  Using the again Command
  276.         You  can  use  the  again command to make the computer do the hard
  277.         work. To use the again command first clear the screen using the
  278.         cs command and show the turtle.
  279.         cs                             
  280.         Type in cs show  hit enter.
  281.                 cs show            
  282.         Type in agn [4] forw [20] rtrn [90] hit enter
  283.                 agn [4] forw [20] rtrn [90]          
  284.         You now have a box on the screen.
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.                                                                     Page 4
  292.       
  293.  Using the Faster command
  294.         
  295.         If speed of the drawing seems slow there is a  way  to  speed  the
  296.         Turtle up using the F command. First clear the screen.
  297.                             F                                 
  298.         Type in cs  hit enter
  299.                 cs           
  300.         Type in F agn [4] forw [20] rtrn [90] hit enter.
  301.                 F agn [4] forw [20] rtrn [90]           
  302.         This is the fast mode for the Turtle.
  303.       
  304.  Using the Pause Command
  305.         
  306.         If  you  wish to have the Turtle stop and wait you may use the the
  307.        pse command. The pse (pause) command will stop the turtle and  wait
  308.        pse              pse                                               
  309.        for  a  key  to be pressed before going on the next command. To use
  310.        the pse command first clear the screen -
  311.            pse                                 
  312.        Type in cs hit enter
  313.                cs          
  314.        Type in forw [30] pse rtrn [90] forw [20]  hit enter
  315.                forw [30] pse rtrn [90] forw [20]           
  316.         The turtle will go forward 30 spaces and wait now hit any  key  on
  317.        the  key  board.  The turtle will now turn and go forward 20 spaces
  318.        and stop.
  319.         
  320.  Switching the Background color
  321.         
  322.         To switch the background color use the B command.
  323.                                                B         
  324.         Type in  B [3] hit enter
  325.                  B [3]          
  326.         Type in  B [0] hit enter
  327.                  B [0]          
  328.         There are 0 to 15 background colors that you can use with a CGA.
  329.         To reset to the default settings
  330.         Type in cs hit enter
  331.                 cs          
  332.       
  333.  The Repeat Command
  334.         
  335.         The Repeat command will repeat all the commands following it.  The
  336.        repeat  command  has  to  control keys they are the p key and the s
  337.                                                            p             s
  338.        key. When the repeat command is running  hitting  the  p  key  will
  339.                                                               p           
  340.        pause  the  turtle  hitting any key but the s key will continue the
  341.                                                    s                      
  342.        Repeat command. If you hit the s key the turtle will stop.  to  use
  343.                                       s                                   
  344.        the repeat command-
  345.         Type in Rept rtrn [93] forw [11] hit enter
  346.                 Rept rtrn [93] forw [11]          
  347.         To pause the repeat command hit the the  p key.
  348.                                                  p     
  349.         (Note do not hit the enter key)
  350.         To continue the repeat hit the spacebar.
  351.         (Note do not hit the enter key)
  352.         To stop the repeat -
  353.         Hit the p  key then hit the s key.
  354.                 p                   s     
  355.         (Note do not hit the enter key).
  356.         Type in  cs hit enter
  357.                  cs          
  358.         
  359.  To Enter Text on the screen
  360.         
  361.         To  enter  text  on  the screen use the T command. To use the text
  362.                                                 T                         
  363.        command-
  364.         Type in T [2] Hello There ,  hit enter
  365.                 T [2] Hello There ,           
  366.         The number in the brackets is the line number to write  the  text.
  367.        The  message  you  wish  displayed  on  the  screen must end with a
  368.        comma.
  369.  
  370.  
  371.  
  372.                                                                     Page 5
  373.         
  374.         
  375.         
  376.                         
  377.  Creating your own programs or commands
  378.         
  379.         JEM allows you to create your own commands using the commands  you
  380.        have be shown. To create your own commands
  381.         Type in expl hit enter
  382.                 expl          
  383.         Type in tell hit enter
  384.                 tell          
  385.         Type in Rightbox= F agn [4] forw [30] rtrn [90] ; hit enter
  386.                 Rightbox= F agn [4] forw [30] rtrn [90] ;          
  387.         The screen will now be back with the turtle and the command line.
  388.         Type in Rightbox hit enter.
  389.                 Rightbox           
  390.         The turtle will have drawn the box.
  391.         
  392.  Listing your own commands
  393.         
  394.          Jem  allows  you  to  list your commands that you have created by
  395.        using the the show command. To list your commands -
  396.                      show                                 
  397.         Type in expl hit enter
  398.                 expl          
  399.         Type in show hit enter
  400.                 show          
  401.         Type in all hit enter
  402.                 all          
  403.         Jem will now list all the commands or words in memory.
  404.         
  405.  Forgetting a command you have created
  406.         
  407.         Jem allows you to forget or get rid of commands that  you  do  not
  408.        want or simple do not work as planned. To use the forget command-
  409.                                                          forget         
  410.         Type in expl hit enter
  411.                 expl          
  412.         Type in forget hit enter
  413.                 forget          
  414.         Type in Rightbox hit enter
  415.                 Rightbox          
  416.         Hit enter
  417.         Hit enter
  418.         The command Rightbox is now gone.
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.                                                                     Page 6
  449.  
  450.         
  451.                 
  452.  Loading Files
  453.         
  454.         To load a file use the G command to use the the get file command-
  455.                                G                                         
  456.         Type in G  hit enter
  457.                 G           
  458.         You will now be asked for the file name -
  459.         Type in jem.dat hit enter
  460.                 jem.dat          
  461.         (Note  if  JEM.DAT  has been removed from your disk you will get a
  462.          error comment)
  463.         Type in expl hit enter
  464.                 expl          
  465.         Type in show hit enter
  466.                 show          
  467.         Type in all hit enter
  468.                 all          
  469.         Hit the enter key until you get the command line back.
  470.         When the Turtle and the command line return -
  471.         Type in window hit enter
  472.                 window          
  473.         You now have a window on the screen.
  474.         List the commands again and  try  some  of  the  words  listed  in
  475.        jem.dat
  476.         
  477.  Saving Files
  478.         
  479.         If  you  use  the expl command during a session when you enter the
  480.                           expl                                            
  481.        end command Jem will ask you if you wish to save the word  file  if
  482.        end                                                                
  483.        you  answer yes you will be asked for the name you wish to give the
  484.        file. Or you may use the the Save  command  to  use  the  the  save
  485.                                     Save                                  
  486.        command.
  487.         Type in S hit enter
  488.                 S          
  489.         You then be asked to give a file name
  490.         Type in Myfile.dat hit enter
  491.                 Myfile.dat          
  492.  
  493.  Chaining Files
  494.         
  495.         JEM  allows  you  chain files and commands to use this command you
  496.        must know the file name and the first command you wish  to  execute
  497.        in that file.
  498.         Type in Do "jem.dat window"  hit enter
  499.                 Do "jem.dat window"           
  500.         Jem will load the file jem.dat and execute the command window.
  501.                                jem.dat                                
  502.         The  Do  command  can  be  used  to load files also to use as file
  503.              Do                                                           
  504.        loader only see page 9.
  505.           
  506.  Auto Run JEM
  507.         
  508.         Jem allows you to create an auto run file or an auto load file  to
  509.        use  the auto feature. You must use the file name jem.run rename or
  510.                                                          jem.run          
  511.        create a file with this name. To use the the auto run  feature  the
  512.        word  or  command  startup must be in the jem.run file. The command
  513.                           startup                                         
  514.        startup can be defined as what ever you wish.(See page 9)
  515.         
  516.         
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.                                                                     Page 7
  526.         
  527.         
  528.                 
  529.  Variables
  530.         
  531.         Jem allows two variables they are var1 and var2. To set the  value
  532.                                           var1     var2.                  
  533.        in the variables -
  534.         Type in s [var1=1] hit enter
  535.                 s [var1=1]          
  536.         Type in s [var2=5] hit enter
  537.                 s [var2=5]          
  538.         
  539.         To add to the current value of the variables
  540.         
  541.         Type in s [var1+2] hit enter
  542.                 s [var1+2]          
  543.         (this will add 2 to the current value of var1)
  544.                                                  var1 
  545.         Type in s [var2+3] hit enter
  546.                 s [var2+3]          
  547.         (this will add 3 to the current value of var2)
  548.                                                  var2 
  549.  
  550.         To subtract to the current value of the variables
  551.         
  552.         Type in s [var1-2] hit enter
  553.                 s [var1-2]          
  554.         (this will subtract 2 from the current value of var1)
  555.                                                         var1 
  556.         Type in s [var2-3] hit enter
  557.                 s [var2-3]          
  558.         (this will subtract 3 from the current value of var2)
  559.                                                         var2 
  560.         
  561.         To use a variable -
  562.         
  563.         Type in forw [var1] turn [var2] hit enter
  564.                 forw [var1] turn [var2]          
  565.  
  566.  Screen wrap ON or OFF
  567.         
  568.         The  screen  normally  wraps around that is to say that the turtle
  569.        if it goes off the top of the screen it will appear at  the  bottom
  570.        of  the  screen.  You  can  turn  the the wrap off if you wish that
  571.        means the turtle will not appear at the bottom  of  the  screen  if
  572.        the  turtle runs off the top of the screen. The command to turn the
  573.        wrap off is nwrp to turn the wrap on the command is wrap.
  574.                    nwrp                                    wrap 
  575.         
  576.         
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.                                                                     Page 8
  602.  
  603.         To print out JEM's display turn the  command  line  off,turn  your
  604.        printer on, hit the print screen key.
  605.         
  606.         JEM  is  language  similar  to  the computer language FORTH , user
  607.        words or commands  may  definded  using  the  pre-defined  commands
  608.        and/or  user  defined  commands  to  create more commands. Load the
  609.        file JEM.DAT to see examples of user created commands.
  610.         
  611.         Chaining of files the user can chain any number of files  to  each
  612.        other.  The  Auto  run  feature  must  have the JEM.RUN in the same
  613.        directory as JEM.COM and the word startup must be used in the  file
  614.                                          startup                          
  615.        JEM.RUN  to start the auto run feature. To see how the auto feature
  616.        works rename the file JEM2.DAT as JEM.RUN the load JEM. There is  a
  617.        small demonstration command in that file.
  618.        
  619.          User  defined  commands can be repeated in the same data file but
  620.                                                                        but
  621.        JEM will use the first  definition  only.  The  same  word  can  be
  622.        defined  in  a  different file as a different command. User defined
  623.        commands must be longer than five (5) characters in length for  JEM
  624.                 must be longer than five (5)                              
  625.        to use them.
  626.         
  627.          When  using the ag (again) command care must used not to nest the
  628.                          ag                                               
  629.        the again command. Example of a nested command is ag [5] forw  [10]
  630.                                                          ag [5] forw  [10]
  631.        ag [4] forw [10] rtrn [3].
  632.        ag [4] forw [10] rtrn [3].
  633.         
  634.         To  use  the  Do command to load files only simply do not give the
  635.                       Do                       only                       
  636.        command a word to execute. Example of a file  load  using  the  the
  637.        Do commmand.
  638.        Do          
  639.         
  640.         Type in Do jem.dat hit enter
  641.                 Do jem.dat          
  642.        Jem will load the file and return to the command line.
  643.         Also  a  user  defined  command can call itself if you do this JEM
  644.        will go in to endless loop. You can try Ctrl c to stop JEM but  you
  645.        may need to shut the system off to end the loop.
  646.         
  647.         Look  at  the  JEM.DOC  for addition information see next page for
  648.        command abbreviations.
  649.         
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.                                                                     Page 9
  671.  
  672.         
  673.         Jem basic commands can be shorten to one character  to  save  time
  674.        and  space  when the user creates their own commands here is a list
  675.        of the shorten commands.
  676.  
  677.         Function                      Command             Short Command
  678.         
  679.           
  680.         Moving the turtle forward       forw [spaces]       f [spaces]
  681.         Moving the turtle backwards     back [spaces]       b [spaces]
  682.         Clear screen                    cs                  c
  683.         Turn to a compass point         turn [angle]        t [angle]
  684.         Hide the turtle from view       hide                h
  685.         Show the turtle                 show                s
  686.         Turtle pen up                   upen                u
  687.         Turtle pen down                 dpen                d
  688.         Switch line colors              Clr [number]        C [number]
  689.         Switch to Palette 1             1                   1
  690.         Switch to Palette 2             2                   2
  691.         Command line on                 Line                L
  692.         Command line off                Off                 O
  693.         40 Chars per line(default)      med                 m
  694.         80 Chars per line               Hi                  H
  695.         Exiting JEM                     end                 end
  696.         Right turns                     rtrn [angle]        r [angle]
  697.         Left turns                      ltrn [angle]        l [angle]
  698.         Again x times                   agn [times]         a [times]
  699.         Faster command                  Fast                F
  700.         Pause wait foe keypress         pse                 p
  701.         Seting Background Color         Back [number]       B [number]
  702.         Repeat Command                  Rept                R
  703.         Put text on screen              T [line] here ,     T [line] here,
  704.         Get a data file                 G                   G
  705.         Get a data file                 Do filename         D filename
  706.         Save a data file                Save                S
  707.         Get file Do a command           Do file command     D file command
  708.         Screen wrap on                  wrap                w
  709.         Screen wrap off                 nwrp                n
  710.         
  711.         Variable # 1                    var1                var1
  712.         Variable # 2                    var2                var2
  713.         Explain to Turtle               explain             exp
  714.         
  715.         
  716.             
  717.         
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.                                                                    Page 10
  731.  
  732.         The following page will let you try some user defined commands  in
  733.        the data file JEM.DAT to see how the commands work.
  734.          
  735.         You can get a print out of the file JEM.DAT to look at by going to
  736.        DOS put the JEM disk in the disk drive. At the DOS prompt-
  737.         
  738.                  Type in  copy jem.dat prn hit enter
  739.                           copy jem.dat prn          
  740.  
  741.              After the printer is done load the JEM  program  at  the  DOS
  742.             prompt -
  743.                  
  744.                   Type in  jem  hit enter   
  745.                            jem              
  746.                                         
  747.         This  page  has  a number of commands in the JEM.DAT file the user
  748.         can try and look at. First load the data file jem.dat-
  749.  
  750.                 Type in   D jem.dat       hit enter
  751.                           D jem.dat                
  752.                 Type in   R shapes        hit enter
  753.                           R shapes                 
  754.         
  755.         Jem will draw a number of shapes on the screen
  756.         
  757.                 Type in   cs R shapes2    hit enter
  758.                           cs R shapes2             
  759.             
  760.         Jem will draw some more shapes on the screen
  761.            
  762.           To see the difference in drawing speed using the Repeat command
  763.         try this
  764.                  Type in   cs shapes2      hit enter
  765.                            cs shapes2               
  766.  
  767.          When the turtle is finshed try the same  word  using  the  Faster
  768.        command.
  769.                  Type in   cs F shapes2     hit enter
  770.                            cs F shapes2              
  771.  
  772.          There is a noticeable difference in drawing speed.
  773.          You can use the turtle to draw letters also try
  774.         
  775.                   Type in  cs F startwrite   hit enter
  776.                            cs F startwrite            
  777.         Now  you  can try some of the other words in the JEM.DAT file. Try
  778.        creating some words try
  779.         
  780.                   Type in   expl     hit enter
  781.                             expl              
  782.                   Type in   tell     hit enter
  783.                             tell              
  784.                   Type in   myword1= cs F startwrite ;  hit enter
  785.                             myword1= cs F startwrite ;           
  786.         
  787.       Get back to the command line and the turtle on the screen then -
  788.  
  789.                   Type in   myword1  hit enter
  790.                             myword1           
  791.         
  792.        Try creating your own words on your own now.
  793.         
  794.         
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.                                                                    Page 11
  803.  
  804.         Index
  805.         
  806.         Page 1                    Command line, help command
  807.         Page 2                    Moving the Turtle  forw , back commands
  808.         Page 2                    Clearing the screen cs command
  809.         Page 2                    Turning the Turtle turn command
  810.         Page 3                    Turtle on or off hide,show command
  811.         Page 3                    Drawing lines penup pendown command
  812.         Page 3                    Centering the Turtle gohome command
  813.         Page 3                    Switching line colors Color command
  814.         Page 3                    Color Palettes   1 , 2 commands
  815.         Page 3                    Command line off Off  Line command
  816.         Page 3                    80 ,40 Chars pre line Hi ,Med command
  817.         Page 4                    Ending a Jem session end command
  818.         Page 4                    Drawing a simple Box
  819.         Page 4                    Right turn command rtrn command
  820.         Page 4                    Left turn command  ltrn command
  821.         Page 4                    Using the rtrn command
  822.         Page 4                    Using the again command agn command
  823.         Page 5                    Using the Faster command F command
  824.         Page 5                    Using the Repeat command R command
  825.         Page 5                    Switching the Background color B command
  826.         Page 5                    Using the Pause command P command
  827.         Page 5                    Using the Text command T command
  828.         Page 6                    Creating Commands
  829.         Page 6                    Using the explain command expl command
  830.         Page 6                    Using the list command show command
  831.         Page 6                    Forgetting a command forget command
  832.         Page 7                    File handing
  833.         Page 7                    Loading a data file Get command
  834.         Page 7                    Auto command excute Do command
  835.         Page 9                    Loading a data file Do command
  836.         Page 7                    Saving a data file Save command
  837.         Page 7                    Automatic load and run of JEM
  838.         Page 8                    Variables
  839.         Page 8                    Setting the variable value
  840.         Page 8                    Addition with the variables
  841.         Page 8                    Subtraction of the variables
  842.         Page 8                    Screen wrap on or off
  843.         Page 8                    Using nwrp command
  844.         Page 8                    Using wrap command
  845.         Page 9                    Chaining data files
  846.         Page 10                   Basic Command Short hand
  847.         Page 11                   Using the tell command
  848.         Page 11                   Creating commands
  849.         Page 11                   Practice using commands
  850.         
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.                                                                    Page 12
  863.  
  864.         
  865.         
  866.         
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.                                                                    Page 13
  924.